package cn.xuguowen.user.designPatten.strategy.hsp.strategy;


/**
 * ClassName: ToyDuck
 * Package: cn.xuguowen.user.designPatten.strategy.hsp.tradition
 * Description:
 * 玩具鸭
 * @Author 徐国文
 * @Create 2023/4/28 12:14
 * @Version 1.0
 */
public class ToyDuck extends Duck {

    public ToyDuck() {
        flyBehavior = new NoFlyBehavior();
        quakeBehavior = new NoQuakeBehavior();
    }

    @Override
    public void display() {
        System.out.println("这是玩具鸭");
    }

}
